package com.nbgroup.controller;

import com.nbgroup.pojo.common.PageBean;
import com.nbgroup.service.IClueRecordService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/clues")
@RestController
@Api("线索的其它接口")
public class ClueOtherController {

    @Autowired
    private IClueRecordService clueRecordService;

    /**
     * 线索记录列表
     */
    @GetMapping("/record/list")
    public PageBean PageQueryRecords(Long clueId){
        return clueRecordService.PageQueryRecords(clueId);
    }
}
